#ifndef V_NAV_GRAPHICS_RENDER_SYSTEM_H
#define V_NAV_GRAPHICS_RENDER_SYSTEM_H

#include <Windows.h>
#include <gl/GL.h>
#include <gl/GLU.h>
#include "SDL.h"
#include "definitions/VNTypeDefs.h"
#undef main

namespace vnav
{
	namespace graphics
	{
		struct _data_struct_ {
			SDL_Surface* screen;
			SDL_Event evt;
			Uint32 time;
			VNBool windowClosed;
		};

		class RenderSystem
		{
		public:
			static void initialize(VNInt width, VNInt height, VNBool fullscreen);
			static void finalize();
			static void beginFrame();
			static void endFrame();
			static bool isWindowClosed();
		protected:
		private:
			static _data_struct_* m_data;
		};
	}
}

#endif